﻿using System;
using Microsoft.Xna.Framework;

namespace Terraria.ModLoader
{
	// Token: 0x020001F9 RID: 505
	public abstract class ModWaterStyle
	{
		// Token: 0x170001A4 RID: 420
		// (get) Token: 0x06001614 RID: 5652 RVA: 0x00010C4F File Offset: 0x0000EE4F
		// (set) Token: 0x06001615 RID: 5653 RVA: 0x00010C57 File Offset: 0x0000EE57
		public Mod mod { get; internal set; }

		// Token: 0x170001A5 RID: 421
		// (get) Token: 0x06001616 RID: 5654 RVA: 0x00010C60 File Offset: 0x0000EE60
		// (set) Token: 0x06001617 RID: 5655 RVA: 0x00010C68 File Offset: 0x0000EE68
		public string Name { get; internal set; }

		// Token: 0x170001A6 RID: 422
		// (get) Token: 0x06001618 RID: 5656 RVA: 0x00010C71 File Offset: 0x0000EE71
		// (set) Token: 0x06001619 RID: 5657 RVA: 0x00010C79 File Offset: 0x0000EE79
		public int Type { get; internal set; }

		// Token: 0x0600161A RID: 5658 RVA: 0x00010C82 File Offset: 0x0000EE82
		public virtual bool Autoload(ref string name, ref string texture, ref string blockTexture)
		{
			return this.mod.Properties.Autoload;
		}

		// Token: 0x0600161B RID: 5659 RVA: 0x0000ADF8 File Offset: 0x00008FF8
		public virtual bool ChooseWaterStyle()
		{
			return false;
		}

		// Token: 0x0600161C RID: 5660
		public abstract int ChooseWaterfallStyle();

		// Token: 0x0600161D RID: 5661
		public abstract int GetSplashDust();

		// Token: 0x0600161E RID: 5662
		public abstract int GetDropletGore();

		// Token: 0x0600161F RID: 5663 RVA: 0x00010C94 File Offset: 0x0000EE94
		public virtual void LightColorMultiplier(ref float r, ref float g, ref float b)
		{
			r = 0.88f;
			g = 0.96f;
			b = 1.015f;
		}

		// Token: 0x06001620 RID: 5664 RVA: 0x00010CAB File Offset: 0x0000EEAB
		public virtual Color BiomeHairColor()
		{
			return new Color(28, 216, 94);
		}

		// Token: 0x0400152C RID: 5420
		internal string texture;

		// Token: 0x0400152D RID: 5421
		internal string blockTexture;
	}
}
